﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.PlanningManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.PlanningManagement.ProductionTaskVMs
{
    public partial class ProductionTaskSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._ProductionTask._Wo")]
        public string Wo { get; set; }
        [Display(Name = "_Model._ProductionTask._ProdOrder")]
        public long? ProdOrderId { get; set; }
        [Display(Name = "_Model._ProductionTask._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._ProductionTask._ProductCode")]
        public string ProductCode { get; set; }
        [Display(Name = "_Model._ProductionTask._ProductName")]
        public string ProductName { get; set; }
        [Display(Name = "_Model._ProductionTask._LineId")]
        public long? LineId { get; set; }
        [Display(Name = "_Model._ProductionTask._LineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._ProductionTask._OpId")]
        public long? OpId { get; set; }
        [Display(Name = "_Model._ProductionTask._OpCode")]
        public string OpCode { get; set; }
        [Display(Name = "_Model._ProductionTask._ShiftId")]
        public long? ShiftId { get; set; }
        [Display(Name = "_Model._ProductionTask._ShiftCode")]
        public string ShiftCode { get; set; }
        [Display(Name = "_Model._ProductionTask._ProductionBatch")]
        public string ProductionBatch { get; set; }
        [Display(Name = "_Model._ProductionTask._TaskStatus")]
        public WoStatusEnum? TaskStatus { get; set; }
        [Display(Name = "_Model._ProductionTask._PlanQty")]
        public decimal? PlanQty { get; set; }
        [Display(Name = "_Model._ProductionTask._OnlineQty")]
        public decimal? OnlineQty { get; set; }
        [Display(Name = "_Model._ProductionTask._QualifiedQty")]
        public decimal? QualifiedQty { get; set; }
        [Display(Name = "_Model._ProductionTask._UnqualifiedQty")]
        public decimal? UnqualifiedQty { get; set; }
        [Display(Name = "_Model._ProductionTask._ScrapQty")]
        public decimal? ScrapQty { get; set; }
        [Display(Name = "_Model._ProductionTask._CompletedQty")]
        public decimal? CompletedQty { get; set; }
        [Display(Name = "_Model._ProductionTask._CreateTime")]
        public DateRange CreateTime { get; set; }
        [Display(Name = "_Model._ProductionTask._UpdateTime")]
        public DateRange UpdateTime { get; set; }
        [Display(Name = "_Model._ProductionTask._CreateBy")]
        public string CreateBy { get; set; }
        [Display(Name = "_Model._ProductionTask._UpdateBy")]
        public string UpdateBy { get; set; }

        protected override void InitVM()
        {
            

        }
    }

}